package com.companyName.sample.controller.constant;

public class Constants {

	public static class ReqParamDefaultValue {
		public static final String PageId = "0";
		public static final String PageSize = "20";
		public static final String StickyPageSize = "1000";
	}


	public static class ReqPath {
		public static final String UserLogin = "/user/login";
		public static final String UserInfo = "/user/info";
	}

	public static class ReqHeader {
		public static final String UserAgent = "User-Agent";
		public static final String Authorization = "Authorization";
		public static final String IfNoneMatch = "If-None-Match";
		public static final String AcceptLanguage = "Accept-Language";
	}

	public static class ReqUri {
		public static final String defaultEncoding = "UTF-8";
	}

	public static class ResHeader {
		public static final String Etag = "Etag";
	}

	public static class RedisKey{
		//用户详细信息
		public static final String userInfo = "USER_INFO_KEY_";
		//通过pid查找 userId
		public static final String userInfoPid = "USER_PID_KEY_";

	}


}
